package com.zhb.chapter1;

public class DynamicHelloTest {
    public static void main(String[] args) {
        Hello hello = new HelloImpl();

        DynamicProxy dynamicProxy = new DynamicProxy(hello);

        Hello helloProxy = dynamicProxy.getProxy();
        helloProxy.say("z");
    }
}
